package top.hidoctor.auscultation.bean;

import java.util.List;

import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
public class ShaichaBean {

    /**
     * page : 1
     * pageSize : 10
     * result : [{"aiStatus":20,"coordinate":"欠配合","createdTime":1607592454000,"hospitalId":"67918961378852864","id":"124925054671650816","no":"循音科技-IP0027_20190802T092312","patient":{"birthday":1293811200000,"name":"张四一"},"position":"卧位","screeningAnalysis":{"createdTime":1607592454000,"id":"124925054671650816"},"screeningAssess":{"createdTime":1607592454000,"id":"124925054671650816"},"screeningDetail":{"id":"124925054671650816"},"status":20},{"aiStatus":20,"coordinate":"配合","createdTime":1605424384000,"hospitalId":"67918961378852864","id":"114744346292518912","no":"循音科技-IP006_20190521T010557","patient":{"birthday":1293811200000,"name":"张**"},"position":"卧位","screeningAnalysis":{"createdTime":1605424384000,"id":"114744346292518912"},"screeningAssess":{"createdTime":1605424384000,"id":"114744346292518912"},"screeningDetail":{"id":"114744346292518912"},"status":10},{"aiStatus":20,"coordinate":"配合","createdTime":1605343694000,"hospitalId":"67918961378852864","id":"115493072632020992","no":"循音科技-OP0123_20190814T110549","patient":{"birthday":1293811200000,"name":"张四一"},"position":"卧位","screeningAnalysis":{"createdTime":1605343694000,"id":"115493072632020992"},"screeningAssess":{"createdTime":1605343694000,"id":"115493072632020992"},"screeningDetail":{"id":"115493072632020992"},"status":20},{"aiStatus":20,"coordinate":"配合","createdTime":1605343664000,"hospitalId":"67918961378852864","id":"115492948749058048","no":"循音科技-IP0054_20191029T113235","patient":{"birthday":1293811200000,"name":"张四一"},"position":"卧位","screeningAnalysis":{"createdTime":1605343664000,"id":"115492948749058048"},"screeningAssess":{"createdTime":1605343664000,"id":"115492948749058048"},"screeningDetail":{"id":"115492948749058048"},"status":20},{"aiStatus":10,"coordinate":"配合","createdTime":1605337281000,"hospitalId":"67918961378852864","id":"115466174359142400","no":"循音科技-IP0008_20190811T120841","patient":{"birthday":1293811200000,"name":"张四一"},"position":"卧位","screeningAnalysis":{"createdTime":1605337281000,"id":"115466174359142400"},"screeningAssess":{"createdTime":1605337281000,"id":"115466174359142400"},"screeningDetail":{"id":"115466174359142400"},"status":10},{"aiStatus":10,"coordinate":"配合","createdTime":1605337262000,"hospitalId":"67918961378852864","id":"115466094738669568","no":"循音科技-IP0007_20191008T081655","patient":{"birthday":1293811200000,"name":"张四一"},"position":"卧位","screeningAnalysis":{"createdTime":1605337262000,"id":"115466094738669568"},"screeningAssess":{"createdTime":1605337262000,"id":"115466094738669568"},"screeningDetail":{"id":"115466094738669568"},"status":10},{"aiStatus":10,"coordinate":"配合","createdTime":1605337008000,"hospitalId":"67918961378852864","id":"115465030807322624","no":"循音科技-IP0006_20190811T114513","patient":{"birthday":1293811200000,"name":"张四一"},"position":"卧位","screeningAnalysis":{"createdTime":1605337008000,"id":"115465030807322624"},"screeningAssess":{"createdTime":1605337008000,"id":"115465030807322624"},"screeningDetail":{"id":"115465030807322624"},"status":10},{"aiStatus":10,"coordinate":"配合","createdTime":1605165197000,"hospitalId":"67918961378852864","id":"114744401330176000","no":"循音科技-OP00655_20191023T104010","patient":{"birthday":1293811200000,"name":"张四一"},"position":"卧位","screeningAnalysis":{"createdTime":1605165197000,"id":"114744401330176000"},"screeningAssess":{"createdTime":1605165197000,"id":"114744401330176000"},"screeningDetail":{"id":"114744401330176000"},"status":10}]
     */
    private Integer page;
    private Integer pageSize;
    private Integer totalItems;
    private Integer totalPages;
    private List<ResultBean> result;

    @NoArgsConstructor
    @Data
    public static class ResultBean {
        /**
         * aiStatus : 20
         * coordinate : 欠配合
         * createdTime : 1607592454000
         * hospitalId : 67918961378852864
         * id : 124925054671650816
         * no : 循音科技-IP0027_20190802T092312
         * patient : {"birthday":1293811200000,"name":"张四一"}
         * position : 卧位
         * screeningAnalysis : {"createdTime":1607592454000,"id":"124925054671650816"}
         * screeningAssess : {"createdTime":1607592454000,"id":"124925054671650816"}
         * screeningDetail : {"id":"124925054671650816"}
         * status : 20
         */

        private Integer aiStatus;
        private String coordinate;
        private Long createdTime;
        private String hospitalId;
        private String id;
        private String no;
        private PatientBean patient;
        private String position;
        private ScreeningAnalysisBean screeningAnalysis;
        private ScreeningAssessBean screeningAssess;
        private ScreeningDetailBean screeningDetail;
        private Integer status;

        @NoArgsConstructor
        @Data
        public static class PatientBean {
            /**
             * birthday : 1293811200000
             * name : 张四一
             */

            private Long birthday;
            private String name;
        }

        @NoArgsConstructor
        @Data
        public static class ScreeningAnalysisBean {
            /**
             * createdTime : 1607592454000
             * id : 124925054671650816
             */

            private Long createdTime;
            private String id;
        }

        @NoArgsConstructor
        @Data
        public static class ScreeningAssessBean {
            /**
             * createdTime : 1607592454000
             * id : 124925054671650816
             */

            private Long createdTime;
            private String id;
        }

        @NoArgsConstructor
        @Data
        public static class ScreeningDetailBean {
            /**
             * id : 124925054671650816
             */

            private String id;
        }
    }
}
